ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / GroupBy Method / GroupBy(DataGridColumnValue<DataGridSortDirection>[]) Method
Pairs of columns and group directions.

In This Topic
    GroupBy(DataGridColumnValue<DataGridSortDirection>[]) Method
    In This Topic
    Groups the data by the specified columns and directions.
    Syntax
    'Declaration
     
    
    Public Overloads Sub GroupBy( _
       ByVal ParamArray columns() As DataGridColumnValue(Of DataGridSortDirection) _
    ) 
    public void GroupBy( 
       params DataGridColumnValue<DataGridSortDirection>[] columns
    )

    Parameters

    columns
    Pairs of columns and group directions.
    Exceptions
    ExceptionDescription
    This exception is raised whether the collection view is not ready to execute a group operation.
    See Also